﻿<Page
    x:Class="PanViewDemoApp.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PanViewDemoApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:pvl="using:PanViewLibrary"
    mc:Ignorable="d">
    <Grid
        Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <pvl:PanView
            ManipulationMode="All"
            MinTranslateX="-200"
            MaxTranslateX="100"
            MinTranslateY="-300"
            MaxTranslateY="600"
            x:Name="MyPanView">
            <Grid
                x:Name="_grid"
                Width="2000"
                Height="2000" />
        </pvl:PanView>
        <Button
            Content="Reset"
            Click="OnResetClicked" />
    </Grid>
</Page>
